package cn.wh.org.service;

import cn.wh.basic.service.IBaseService;
import cn.wh.org.domain.Employee;

import java.util.List;

public interface IEmployeeService extends IBaseService<Employee> {

    @Override
    void save(Employee employee);

    @Override
    void update(Employee employee);

    @Override
    void removeById(Long id);

    //通过LogininfoId查员工
    Employee loadByLogininfoId(Long id);

    /**
     * 查询店铺所有员工
     * @param shopId
     * @return
     */
    List<Employee> queryEmp(Long shopId);
}
